
import { useNavigate } from 'react-router'
export default function useShowArtistDetail() {
  const navigator = useNavigate()
  const goToArtistDetail = id => {
    navigator(`/discover/artistDetail/${id}`)
  }
  return goToArtistDetail
}